Skip to main content

安装Home Brew

  1. 安装HomeBrew

  2. 将Home Brew添加到PATH中:

    # 第一条命令
    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/limpeak/.zprofile
    # 第二条命令
    eval "$(/opt/homebrew/bin/brew shellenv)"
  3. 验证Homebrew是否安装成功:

    brew --version